package ru.linnenson.darshana.infrastructure.persistence.models;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Data
@Entity
@ToString(callSuper = true)
@Table(name = "number_in_kim")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class NumberInKimStore extends DictionaryStore {

  @ManyToOne
  @JoinColumn(name = "subject_id")
  SubjectStore subject;
}
